package Day01;

public class Demo14 {
    //定义两个个整型变量互换，要求不能使用第三变量
    public static void main(String[] args) {
        int a = 10;//定义变量
        int b = 20;
        a = a + b;
        b = a - b;
        a = a - b;
        System.out.println("a=" + a + ";b=" +b);
    }
}
